<?php

class Service extends AppModel {
    
    // define model name
    var $name = 'Service';
     
    // define model schema
    var $schema = array(
        'name'          => array('type' => 'int'),
        'base_price'    => array('type' => 'int'),
        'type'          => array('type' => 'int'),
        'description'   => array('type' => 'string'),
        'created'       => array('type' => 'datetime'),
        'deletedOn'     => array('type' => 'datetime'),
    );
  
//    private function validateServiceType($type = null) {
//      
//        if (!key_exists($type, Constants::$service_types)) {
//            $this->log($type,'mylog');
//            $this->Service->invalidate('type',__('Invalid service type',true));
//        }
//        
//    }
    
}   

?>
